<?php



class ListDocumentTypesMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ListDocumentTypesMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ListDocumentTypesPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ListDocumentTypesPeer::TABLE_NAME);
		$tMap->setPhpName('ListDocumentTypes');
		$tMap->setClassname('ListDocumentTypes');

		$tMap->setUseIdGenerator(false);

		$tMap->addColumn('TYPE_TAG', 'TypeTag', 'VARCHAR', true, 10);

		$tMap->addColumn('TYPEID', 'Typeid', 'VARCHAR', true, 5);

		$tMap->addColumn('TYPE_NAME', 'TypeName', 'VARCHAR', true, 50);

		$tMap->addColumn('LAST_ID', 'LastId', 'VARCHAR', true, 20);

		$tMap->addPrimaryKey('IDEN', 'Iden', 'VARCHAR', true, 20);

	} 
} 